srav.o: srav.cc
        g++ -L/usr/include/opencv `pkg-config --cflags --libs opencv` -c srav.cc -o srav.o

threshold: threshold.cc
        g++ -L/usr/include/opencv `pkg-config --cflags --libs opencv` threshold.cc -o static_threshold

all: threshold_cam.cc srav.o
        g++ -L/usr/include/opencv `pkg-config --cflags --libs opencv` threshold_cam.cc srav.o -o threshold_cam  